tests/cpu-policy: Rework Makefile
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 15 Jun 2021 14:37:49 +0000 (15:37 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 9 Jul 2021 15:38:27 +0000 (16:38 +0100)
commit6a9f5477637a9f2d1d61c0a065eeb01bf84f6484
tree4c6278967d95cf23ebd26ca707f27d87f478bcf4
parentff759953b32286f376fda7f3ff5a17eccb542b03
tests/cpu-policy: Rework Makefile

In particular, fill in the install/uninstall rules so this test can be
packaged to be automated sensibly.

Rework TARGET-y to be TARGETS, drop redundant -f's for $(RM), drop the
unconditional -O3 and use the default instead, and drop CFLAGS from the link
line but honour APPEND_LDFLAGS.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
tools/tests/cpu-policy/Makefile